home *** CD-ROM | disk | FTP | other *** search
/ PC PowerPlay 49 / PCPP49a.iso / editors / sofsdk / SoF SDK.msi / _FD6D85B2426F4471B02F2671AF8724E5 < prev    next >
Encoding:
Text File  |  2000-03-27  |  1.2 KB  |  42 lines

  1. #include "../common/header.ds"
  2. output "p:/base/ds/tsr1"
  3.  
  4. /////////////////////////////////////////////////
  5. // Declare
  6.  
  7.  
  8. local entity runningguy // skinhead guy who runs around the corner quickly
  9. local entity deadswatguy1 // the swat guy who will get killed
  10. local entity swatkiller // the guy who will shoot the wounded swatguy
  11. local entity gumball1 // the gumball machine
  12. local int sig1
  13.  
  14. /////////////////////////////////////////////////
  15. // Assign
  16.  
  17.  
  18. runningguy = find entity with targetname "runningguy"
  19. deadswatguy1 = find entity with targetname "deadswatguy1"
  20. swatkiller = find entity with targetname "swatkiller"
  21. gumball1 = find entity with targetname "gumball1"
  22.  
  23.  
  24.  
  25. /////////////////////////////////////////////////
  26. // Action
  27. use entity deadswatguy1 // spawns the dead swatguy
  28. use entity runningguy // spawns the guy in
  29. animate entity swatkiller performing action SCRIPT_RELEASE
  30.  
  31. use entity gumball1 // makes sure the gumball machine breaks
  32.  
  33.  
  34. animate entity deadswatguy1 performing action LB_XLEANUPSHOOT_N_P_N targeting entity swatkiller
  35. animate entity deadswatguy1 performing action SCRIPT_RELEASE
  36. remove entity runningguy // gets him out of the way
  37.  
  38.  
  39.  
  40.  
  41.  
  42. // End